package com.weiyan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author misterWei
 * @create 2020年02月20号:20点17分
 * @mailbox mynameisweiyan@gmail.com
 */
@SpringBootApplication(scanBasePackages = "com.weiyan.*")
//获取服务
@EnableDiscoveryClient
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class,args);
    }
}
